<template>
  <div class="VIP">
    <template v-if="type === '01100009'">
      <img :src="qnPath('icon/icon-vip'+level+'.png')">
    </template>
    <template v-if="type === '01100010'">
      <img :src="qnPath('icon/icon-vip'+level+'-1.png')">
    </template>
  </div>
</template>
<script>
export default {
  name: 'VIP', // 商家会员等级
  props: {
    type: {
      type: String,
      default: '01100008'
    },
    level: {
      type: Number,
      default: 1
    }
  }
};
</script>
<style lang="scss" scoped>
	.VIP{
		display: inline-block;
		vertical-align: middle;
		margin-left: 4px;
	}
</style>
